from appium.webdriver.common.mobileby import MobileBy

from APPauto.test_APPauto_practice.test_enterprise_wechat_app.po_add_del_member.package.base import Base
from APPauto.test_APPauto_practice.test_enterprise_wechat_app.po_add_del_member.package.edit_member_package import \
    EditMemberPackage


class PersonalInfoSettingsPackage(Base):
    def get_edit_member_package(self):
        """进入编辑页面"""
        self.driver.find_element(MobileBy.XPATH,"//*[@text='编辑成员']").click()
        return EditMemberPackage(self.driver)